package com.wjk.mapper;

import com.wjk.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: RobertWei
 * time: 2021/8/12    17:28
 * @TODO:
 */

public interface RoleMapper {

    List<Role> queryAll();

    List<Role> queryHasAll(int uid);

    int deleteAllRoles(int uId);

    int insertRole(@Param("uId") int uId,@Param("rId") int rId);

}
